<template>
  <div class="body bg-white dark:bg-slate-800">
    <el-scrollbar height="100%">
      <div class="py-4 px-2">
        <slot></slot>
      </div>
    </el-scrollbar>
  </div>
</template>

<style scoped>
.body {
  width: 100%;
  height: calc(100% - var(--header-height));
}
</style>
